/**  
 * All rights Reserved, Designed By www.woniuxy.com
 * @Title:  Account.java   
 * @Package com.woniu.domain   
 * @Description:    Description  
 * @author: 蜗牛学院  
 * @date:   2019年8月29日 下午8:54:25
 * @user:   Administrator  
 * @version V1.0 
 * @Copyright: 2019 www.woniuxy.com Inc. All rights reserved. 
 * 注意：本内容仅限于成都蜗牛创想科技有限公司，禁止外泄以及用于其他的商业目
 */ 
package com.woniu.ssm.controller;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.woniu.ssm.service.BookService;
import com.woniu.ssm.util.PageBean;
import com.woniu.ssm.vo.Queryvo;

/**
 * @author Administrator
 *
 */
@Controller
@RequestMapping("book")
public class BookContorller {
	@Autowired
	BookService bs;
	@RequestMapping("list")
	public String list(Queryvo query,Map map) {
		PageBean pb = bs.findList(query);
		map.put("pb", pb);
		return "list";
	}
}
